<?php /* Smarty version Smarty-3.1.18, created on 2015-05-13 20:31:31
         compiled from "../application/views/home/searchlist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:78984706755534423a90d03-25064747%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eabb5716045b9577692bf02aedc67dbe534258d5' => 
    array (
      0 => '../application/views/home/searchlist.tpl',
      1 => 1421792959,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '78984706755534423a90d03-25064747',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_55534423ad32a4_56693511',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_55534423ad32a4_56693511')) {function content_55534423ad32a4_56693511($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('home/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<div id="main">
	<div class="container">
		<?php echo $_smarty_tpl->getSubTemplate ("home/sidebar-news.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<div class="main-right">
			<div class="main-title">
				<h1>搜索结果</h1>
				<div class="crumbs">
					<a href="<?php echo base_url();?>
">首页</a>
					<a href="javascript:;">>&nbsp;搜索结果</a>
				</div>
			</div>
			<div class="main-content">
				<ul class="article-list">
					<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['v']->value['Id']));?>
"><?php echo str_cut(h($_smarty_tpl->tpl_vars['v']->value['Title']),100);?>
</a>
						<span>
							<?php if (!empty($_smarty_tpl->tpl_vars['v']->value['PubTime'])) {?>
							<?php echo date('Y-m-d',$_smarty_tpl->tpl_vars['v']->value['PubTime']);?>

							<?php } else { ?>
							<?php echo date('Y-m-d',$_smarty_tpl->tpl_vars['v']->value['Time']);?>

							<?php }?>
						</span>
					</li>
					<?php } ?>
				</ul>
				<?php echo $_smarty_tpl->getSubTemplate ('home/page.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			</div>
		</div>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ('home/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
